import { IFeidaoAiBrowserComponent } from '@dfeidao/atom-web/interfaces';
import set_node_cls from "@dfeidao/atom-web/ui/set-node-cls";
import render from '@dfeidao/atom-web/render/render';
import set from '@dfeidao/atom-web/local/set';
import p001 from './p001';

export default async function a001(fd: IFeidaoAiBrowserComponent, Jx: JSON) {
	// 修改基本信息弹出框
	const d = fd.data.node.querySelector<HTMLDListElement>('[data-id="update2"]');
	set(fd, 'Jx', Jx);
	set_node_cls(d, 'display-n', false);
	console.log("ssssssssssssssssssssssssssssssssss", Jx);
	//显示修改联系人基本信息
	render(fd, Jx, p001, 'p001', 'inner');
}
